<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>首页</title>
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/moneyctrl.css">
</head>

<body>
  <div class="mm-layout" id="aa">
    <!-- 头部 -->
    <div class="mm-header">
      <div class="hd-logo">
        <h4>
          省钱控 - 最新优惠
        </h4>
        <a href="#" class="hd-app">
          <img src="./images/header_app.png" alt="">
        </a>
      </div>
    </div>

    <!-- 主体 -->
    <div class="mm-main">
      <!-- 内容 -->
      <div class="content">
        <ul>
          <li>
            <a href="#">
              <img src="./images/mnav.jpg" alt="">
              <div class="info">
                <p>移动端单品：海天鲜味生抽1.28L <span>10.9元</span></p>
                <span>京东商城 |</span><span> 10-25 14:10</span><span class="fr">1</span>
              </div>
            </a>
          </li>
        </ul>
        <!-- 分页标签 -->
        <div class="page">
          <span>
            <a href="#" class="pro-on">上一页</a>
          </span>
          <span>
            <select name="" id="">
              <option value="">1</option>
              <option value="">2</option>
              <option value="" selected>3</option>
            </select>
          </span>
          <span>
            <a href="#" class="pro-under">下一页</a>
          </span>
        </div>
      </div>
    </div>

    <!-- 底部 -->
    <div class="mm-footer">
      <div class="foot-top">
        <a href="#">登录</a>
        <a href="#">注册</a>
        <a href="#aa" class="upward"><img src="./images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="foot-bottom">
        <p>
          <a href="#">手机APP下载</a>
          <span>慢慢买手机版</span>
          -- 掌上比价平台
        </p>
        <p>m.manmanbuy.com</p>
      </div>
    </div>

  </div>

  <script type="text/html" id="tmp">
      <ul>
      {{ each result v i }}
        <li>
          <a href="moneyproduct.html?productid={{ v.productId }}">
           {{@ v.productImgSm }}
            <div class="info">
              <p>{{ v.productName }} <span>{{ v.productPinkage }}</span></p>
              <p>
                <span class="fl">{{ v.productFrom }} |</span><span class="fl"> {{ v.productTime }}</span><span class="fr">{{ v.productComCount }}</span>
              </p>
            </div>
          </a>
        </li>
        {{ /each }}
      </ul>
        <!-- 分页标签 -->
        <div class="page">
            <span>
              <a href="#" class="page-on">上一页</a>
            </span>
            <span>
              <select name="" id="page-select">
                  <% for(var i = 0; i < totalCount/10; i++ ) { %>

                    <option value="{{ i+1 }}" >{{ i+1 }}/</option>
                  <% } %>
              </select>
            </span>
            <span>
              <a href="#" class="page-under">下一页</a>
            </span>
          </div>

  </script>

  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/moneyctrl.js"></script>
</body>

</html>